package com.etone.smartAudit.vo.permission;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.io.Serializable;
import java.util.List;

/**
 * @author: sovy
 * @date: 2020/8/5
 * @description:
 */
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
@Data
@ApiModel(value = "权限列表")
public class PermissionSimpleVO implements Serializable {
    @ApiModelProperty("权限id")
    private Integer id;

    @ApiModelProperty("权限名称")
    private String name;

    @ApiModelProperty("别名")
    private String alias;

    @ApiModelProperty("路径")
    private String url;
    @ApiModelProperty("请求方法")
    private String method;

    @ApiModelProperty("记录层级父级id")
    private String parentIds;

    @ApiModelProperty("是否选中")
    private Boolean selected = false;
}
